str=input()
a=str[0:3]
b=str[-3:]
print(f'{a}...{b}')
